package sv.gob.mh.dgii.model.pojos.ruc;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

import sv.gob.mh.dgii.model.RcRuc;

public class QueryRucResult implements Serializable {

	private static final long serialVersionUID = -4689057601496062238L;
	
	//Total de registros del query
	private Long total;
	//Resultado de la pagina (recordar que todo va paginado)
	private List<RcRuc> result = new ArrayList<RcRuc>();
	
	public QueryRucResult(Long total, List<RcRuc> result) {		
		this.total = total;
		this.result = result;
	}

	public Long getTotal() {
		return total;
	}

	public void setTotal(Long total) {
		this.total = total;
	}

	public List<RcRuc> getResult() {
		return result;
	}

	public void setResult(List<RcRuc> result) {
		this.result = result;
	}

}
